kernel-mode cache

kernel-mode cache

am 01.08.2007 17:05:44 von soc

Hello,
I enabled odbc logging to a database on a web site on iis6.
I now read that this disables kernel-mode caching. I take it this means for
all web sites on the machine?
How can this be re-enabled?
Thanks SOC.

Re: kernel-mode cache

am 02.08.2007 06:38:34 von David Wang

On Aug 1, 8:05 am, "SOC" wrote:
> Hello,
> I enabled odbc logging to a database on a web site on iis6.
> I now read that this disables kernel-mode caching. I take it this means for
> all web sites on the machine?
> How can this be re-enabled?
> Thanks SOC.



I suggest you do not use ODBC logging. Use centralized binary logging
or normal text-based logging and periodically process them into a
database if you want. This gives you the benefits of kernel-response
caching, reliability of local logging, and SQL-based access of
periodic refresh of the logs.


//David
http://w3-4u.blogspot.com
http://blogs.msdn.com/David.Wang
//

Re: kernel-mode cache

am 02.08.2007 16:42:50 von soc

This is a multi-part message in MIME format.

------=_NextPart_000_008B_01C7D51B.C8F410A0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Thanks, I'll most likely do that.

IIS6 kernel-mode cache enabled in machine.cfg by adding =
enableKernelOutputCache=3D"true" to

element.
=20
i.e



"David Wang" wrote in message =
news:1186029514.948122.82820@z24g2000prh.googlegroups.com...
> On Aug 1, 8:05 am, "SOC" wrote:
>> Hello,
>> I enabled odbc logging to a database on a web site on iis6.
>> I now read that this disables kernel-mode caching. I take it this =
means for
>> all web sites on the machine?
>> How can this be re-enabled?
>> Thanks SOC.
>=20
>=20
>=20
> I suggest you do not use ODBC logging. Use centralized binary logging
> or normal text-based logging and periodically process them into a
> database if you want. This gives you the benefits of kernel-response
> caching, reliability of local logging, and SQL-based access of
> periodic refresh of the logs.
>=20
>=20
> //David
> http://w3-4u.blogspot.com
> http://blogs.msdn.com/David.Wang
> //
>
------=_NextPart_000_008B_01C7D51B.C8F410A0
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable



charset=3Diso-8859-1">




Thanks, I'll most likely do =
that.

 


IIS6 kernel-mode cache enabled in =
machine.cfg by=20
adding enableKernelOutputCache=3D"true" to =
<httpRuntime>


element.

 

i.e <httpRuntime=20
enableKernelOutputCache=3D"true".....      =
  =20
......./>

 

 

 

"David Wang" < href=3D"mailto:w3.4you@gmail.com"> size=3D2>w3.4you@gmail.com> =
wrote in message=20
href=3D"news:1186029514.948122.82820@z24g2000prh.googlegroup s.com">
face=3DArial=20
size=3D2>news:1186029514.948122.82820@z24g2000prh.googlegrou ps.com
=
face=3DArial size=3D2>...
> =
On Aug 1, 8:05=20
am, "SOC" <
face=3DArial=20
size=3D2>z...@yahoo.com
> =
wrote:
>>=20
Hello,
>> I enabled odbc logging to a database on a web site on =

iis6.
>> I now read that this disables kernel-mode caching. I =
take it=20
this means for
>> all web sites on the machine?
>> How =
can=20
this be re-enabled?
>> Thanks SOC.
>
>
> =

> I=20
suggest you do not use ODBC logging. Use centralized binary =
logging
> or=20
normal text-based logging and periodically process them into a
> =
database=20
if you want. This gives you the benefits of kernel-response
> =
caching,=20
reliability of local logging, and SQL-based access of
> periodic =
refresh=20
of the logs.
>
>
> //David
>
href=3D"http://w3-4u.blogspot.com"> size=3D2>http://w3-4u.blogspot.com
size=3D2>>=20
size=3D2>http://blogs.msdn.com/David.Wang
face=3DArial=20
size=3D2>> //
>


------=_NextPart_000_008B_01C7D51B.C8F410A0--

Re: kernel-mode cache

am 02.08.2007 17:31:19 von David Wang

That setting does not do what you think. It only affects ASP.Net's
usage of the kernel response cache. It has no control over the actual
availability of the kernel response cache.

In other words, the kernel response cache is a feature of HTTP.SYS,
exposed by IIS6, and leveraged by ASP.Net through the ISAPI interface
of IIS. HTTP.SYS has its registry key to control kernel response
cache, and IIS has similar configuration. Plus, there are a couple
dozen behaviors required for kernel-response cache.

So, the real answer is that no single setting does what you think. The
real behavior is a combination of dozens of different parameters
control the overall functionality of kernel response cache.

You will also want to read this blog entry:
http://blogs.msdn.com/david.wang/archive/2005/07/07/HOWTO_Us e_Kernel_Response_Cache_with_IIS_6.aspx


//David
http://w3-4u.blogspot.com
http://blogs.msdn.com/David.Wang
//





On Aug 2, 7:42 am, "SOC" wrote:
> Thanks, I'll most likely do that.
>
> IIS6 kernel-mode cache enabled in machine.cfg by adding enableKernelOutputCache="true" to
>
> element.
>
> i.e
>
>
>
> "David Wang" wrote in messagenews:1186029514.948122.82820@z24g2000prh.googlegroups .com...
> > On Aug 1, 8:05 am, "SOC" wrote:
> >> Hello,
> >> I enabled odbc logging to a database on a web site on iis6.
> >> I now read that this disables kernel-mode caching. I take it this means for
> >> all web sites on the machine?
> >> How can this be re-enabled?
> >> Thanks SOC.
>
> > I suggest you do not use ODBC logging. Use centralized binary logging
> > or normal text-based logging and periodically process them into a
> > database if you want. This gives you the benefits of kernel-response
> > caching, reliability of local logging, and SQL-based access of
> > periodic refresh of the logs.
>
> > //David
> >http://w3-4u.blogspot.com
> >http://blogs.msdn.com/David.Wang
> > //- Hide quoted text -
>
> - Show quoted text -

Re: kernel-mode cache

am 03.08.2007 12:42:54 von soc

Thanks David.

Does reverting to file logging undo any change that may have occurred?

Thanks Soc.


"David Wang" wrote in message
news:1186068679.451302.154920@d30g2000prg.googlegroups.com.. .
> That setting does not do what you think. It only affects ASP.Net's
> usage of the kernel response cache. It has no control over the actual
> availability of the kernel response cache.
>
> In other words, the kernel response cache is a feature of HTTP.SYS,
> exposed by IIS6, and leveraged by ASP.Net through the ISAPI interface
> of IIS. HTTP.SYS has its registry key to control kernel response
> cache, and IIS has similar configuration. Plus, there are a couple
> dozen behaviors required for kernel-response cache.
>
> So, the real answer is that no single setting does what you think. The
> real behavior is a combination of dozens of different parameters
> control the overall functionality of kernel response cache.
>
> You will also want to read this blog entry:
> http://blogs.msdn.com/david.wang/archive/2005/07/07/HOWTO_Us e_Kernel_Response_Cache_with_IIS_6.aspx
>
>
> //David
> http://w3-4u.blogspot.com
> http://blogs.msdn.com/David.Wang
> //
>
>
>
>
>
> On Aug 2, 7:42 am, "SOC" wrote:
>> Thanks, I'll most likely do that.
>>
>> IIS6 kernel-mode cache enabled in machine.cfg by adding
>> enableKernelOutputCache="true" to
>>
>> element.
>>
>> i.e
>>
>>
>>
>> "David Wang" wrote in
>> messagenews:1186029514.948122.82820@z24g2000prh.googlegroups .com...
>> > On Aug 1, 8:05 am, "SOC" wrote:
>> >> Hello,
>> >> I enabled odbc logging to a database on a web site on iis6.
>> >> I now read that this disables kernel-mode caching. I take it this
>> >> means for
>> >> all web sites on the machine?
>> >> How can this be re-enabled?
>> >> Thanks SOC.
>>
>> > I suggest you do not use ODBC logging. Use centralized binary logging
>> > or normal text-based logging and periodically process them into a
>> > database if you want. This gives you the benefits of kernel-response
>> > caching, reliability of local logging, and SQL-based access of
>> > periodic refresh of the logs.
>>
>> > //David
>> >http://w3-4u.blogspot.com
>> >http://blogs.msdn.com/David.Wang
>> > //- Hide quoted text -
>>
>> - Show quoted text -
>
>